<template>
  <div class="nav-wrapper">
    <img id="logo" src="../../assets/img/logo.png" height="88" width="166"/>
    <ul class="nav-tabs" >
      <li>ГЛАВНАЯ</li>
      <li>УСЛУГУ</li>
      <li>БЛОГ</li>
      <li>ФРАНШИЗА</li>
      <li>ИНВЕСТИЦИИ</li>
      <li>ВАКАНСИИ</li>
      <li>КОНТАКТЫ</li>
    </ul>
    <div class="nav-contacts" >
      <h3>8 800 2345 973</h3>
      <h3>заказать обратный звонок</h3>
      <img src="../../assets/img/LineCallBack.png" height="1" width="168"/>
    </div>
    <div class="nav-position">
      <img src="../../assets/img/PositionIco.png" height="32" width="24"/>
      <div class="city">
        <h4>
          ВЫБЕРИ СВОЙ
          <br/>
          БАРБЕРШОП
        </h4>
        <span>МОСКВА</span>
      </div>
    </div>
    <div class="nav-burger">
      <div class="row"></div>
      <div class="row"></div>
      <div class="row"></div>
    </div>
  </div>
  <div class="mobile-nav-contacts">
    <h3>8 800 2345 973</h3>
    <h3>заказать обратный звонок</h3>
    <img src="../../assets/img/LineCallBack.png" height="1" width="168"/>
  </div>
</template>
<script setup>
</script>
<style scoped lang="scss">
.nav-wrapper {
  white-space: nowrap;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  color: #FFFFFF;
  font-size: 1.4em;
  transition: 0.3s;

  #logo {
    @media (max-width: 700px) {
      width: 85px;
      height: 45px;
      position: relative;
      bottom: 10px;
    }
  }

  .nav-tabs {
    position: relative;
    bottom: 30px;
    width: 55%;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    grid-gap: 10px;
    font-size: 18px;
    font-weight: bolder;
    transition: 0.4s;
    
    @media (max-width: 1260px) {
      display: none;
    }
    li:hover {
      cursor: pointer;
      scale: 1.1;
    }
  }
  .nav-contacts {
    padding-right: 22px;
    position: relative;
    bottom: 8px;
    h3 {
      margin: 0px;
      margin-top: 2px;
      white-space: nowrap;
      font-size: 16px;
      line-height: 13px;
      text-align: end;
    }
    img {
      position: relative;
      bottom: 20px;
    }
    h3:first-child {
      font-size: 22px;
      text-align: end;
      line-height: 28px;
    }
    h3:first-child:hover {
      scale: 1.1;
      cursor: pointer;
    }
    @media (max-width: 1260px) {
      position: relative;
      bottom: 10px;
    }
    @media (max-width: 700px) {
      display: none;
    }
  }
  .nav-position {
    display: flex;
    font-size: 18px;
    line-height: 21px;
    position: relative;
    bottom: 10px;

    img {
      @media (max-width: 700px) {
        width: 22px;
        height: 30px;
        position: relative;
        top: 5px;
      }
    }

    * {
      margin: 0px;
    }
    .city {
      margin-left: 4px;
      color: #D29C4E;

      br {
        @media (max-width: 1260px) {
          display: none;
        }
      }
      @media (max-width: 700px) {
        font-size: 9px;
      }
    }
    span {
      font-size: 20px;
      line-height: 14px;
      color: #FFFFFF;
      @media (max-width: 700px) {
        font-size: 16px;
      }
    }
    @media (max-width: 1260px) {
      position: relative;
      bottom: 20px;
    }

  }
  .nav-burger {
    display: grid;
    justify-content: center;
    align-content: center;
    align-items: center;
    grid-row-gap: 6px;
    height: 41px;
    width: 41px;
    border: 3px solid #D29C4E;
    border-radius: 100%;
    position: relative;
    bottom: 20px;
    transition: 0.4s;

    .row {
      width: 21.5px;
      height: 3px;
      background: #FFFFFF;
      border: 0px solid white;
      border-radius: 5px;
    }

    @media (min-width: 1260px) {
      display: none;
    }
  }
  .nav-burger:hover {
    scale: 1.1;
  }
}
.mobile-nav-contacts {
  width: 300px;
  margin: 0 auto;
  display: grid;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  font-size: 1.4em;
  h3 {
    margin: 0px;
    margin-top: 2px;
    white-space: nowrap;
    font-size: 16px;
    line-height: 13px;
  }
  img {
    position: relative;
    top: 2px;
  }
  h3:first-child {
    font-size: 22px;
    line-height: 28px;
  }
  h3:first-child:hover {
    scale: 1.1;
    cursor: pointer;
  }
  @media (min-width: 700px) {
    display: none;
  }
}
</style>